@if (session('msg'))
<div class="alert alert-success alert-dismissable">
    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
    {{ session('msg') }}
</div>
@endif

@if (session('error'))
<div class="alert alert-danger alert-dismissable">
    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
    {{ session('error') }}
</div>
@endif

@if (count($errors) > 0)

    @foreach($errors->all() as $v)
    <div class="alert alert-danger alert-dismissable">
    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
    {{$v}}
	</div>
    @endforeach
@endif

